package com.baiyang.generator.conf;

/**
 * 文件配置
 * @author XVX
 */
public class SourseConfig {
	private SourseConfig() {};
	private static SourseConfig config;
	public SourseConfig build() {
		if(config == null) {
			config = new SourseConfig();
		}
		return config;
	}
	/** 项目包名 **/
	private String basePath;
	/** dao接口路径 **/
	private String dao = "dao";
	/** service类路径 **/
	private String service = "service";
	/** 控制类包名 **/
	private String control = "control";
	/** 实体类报名 **/
	private String model = "model";
	/** xml文件路径 **/
	private String mapperPath = "";
	public String getBasePath() {
		return basePath;
	}
	public void setBasePath(String basePath) {
		this.basePath = basePath;
	}
	public String getDao() {
		return dao;
	}
	public void setDao(String dao) {
		this.dao = dao;
	}
	public String getService() {
		return service;
	}
	public void setService(String service) {
		this.service = service;
	}
	public String getControl() {
		return control;
	}
	public void setControl(String control) {
		this.control = control;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getMapperPath() {
		return mapperPath;
	}
	public void setMapperPath(String mapperPath) {
		this.mapperPath = mapperPath;
	}
}
